export const OptType = {
  ADD: 'add',
  EDIT: 'edit',
  COPY: 'copy',
  VIEW: 'view'
}

export const Rank = {
  '3': '三星级',
  '4': '四星级',
  '5': '五星级',
}

export const ServiceType = {
  I: '院内',
  O: '院外',
  A: '院内/院外'
}

export const JobStatus = {
  Y: '在职',
  N: '离职'
}

export const GoodsStatus = {
  O: '上架',
  D: '下架'
}

export const GoodsScope = {
  A: '全院',
  B: '本科室'
}

export const OrderStatus = {
  C: '已开单',
  W: '待支付',
  P: '已支付',
  F: '已完成',
  E: '已作废',
  A: '退款待审批',
  R: '已退款',
  U: '退款中'
}

export const PlanOrderStatus = {
  C: '已创建',
  R: '执行中',
  S: '已停止',
  F: '已出院'
}

export const SettStatus = {
  U: '待结算',
  G: '结算中',
  P: '已结算'
}
let url = 'https://sbutterfly.med.gzhc365.com/';
let miniProUrl = 'https://sksptapp.med.gzhc365.com/';
if (window.location.host !== 'sbutterfly.med.gzhc365.com' && !window.location.host.includes('localhost')) {
  url = 'http://10.105.2.17:60001/';
  miniProUrl = 'https://life.cdsrmyy.com/';
}

export const imgPrefix = url
export const miniPro = miniProUrl
// export const imgHostUrl = 'http://10.105.2.17:60001/'
export const imgHostUrl = url;  
